<div id="customer_search_form">
	<?php echo $this->form;?>
</div>

<?php if (count($this->paginator)): ?>
<div class="list_report_summary">
</div>
<div class="list_customerreport_agent">
	<div class="list_report_title">
		<div class="ltc0_report"><?php echo $this->translate("Num")?></div>
		<div class="ltc1_report"><?php echo $this->translate("Activation day")?></div>
		<div class="ltc1_report"><?php echo $this->translate("Activation hour")?></div>
		<div class="ltc2_report"><?php echo $this->translate("Msisdn")?></div>
		<?php if($this->agent_type_name == 'special agent'): ?>
		<div class="ltc2_report"><?php echo $this->translate("Agent")?></div>
		<?php endif; ?>
		<div class="ltc3_report"><?php echo $this->translate("Device brand")?></div>
		<div class="ltc4_report"><?php echo $this->translate("Device model")?></div>
		<div class="ltc5_report"><?php echo $this->translate("Full name")?></div>
		<div class="ltc6_report"><?php echo $this->translate("City")?></div>
		<div class="ltc7_report"><?php echo $this->translate("Address")?></div>

	</div>
	<?php $i = 0;foreach ($this->paginator as $item): ?>
	<?php if($i++ % 2):?>
	<div class="list_report_data_odd">
	<?php else:?>
	<div class="list_report_data_even">
	<?php endif;?>
		<div class="ldc0_report"><?php echo $this->escape($i + ($this->page -1)* $this->itemsPerPage);?></div>
		<div class="ldc1_report"><?php echo $this->escape(substr($item["activ_date"],8,2));?></div>
		<div class="ldc1_report"><?php echo $this->escape(substr($item["activ_date"],11,2));?></div>
		<div class="ldc2_report"><?php echo $this->escape($item["msisdn"]);?></div>
		<?php if($this->agent_type_name == 'special agent'): ?>
		<div class="ldc2_report"><?php echo $this->escape($item["agent_name"])?></div>
		<?php endif; ?>
		<div class="ldc3_report"><?php echo $this->escape($item["device_brand"]);?></div>
		<div class="ldc4_report"><?php echo $this->escape($item["device_model"]);?></div>
		<div class="ldc5_report"><?php echo $this->escape($item["fullname"]);?></div>
		<div class="ldc6_report"><?php echo $this->escape($item["city"]);?></div>
		<div class="ldc7_report"><?php echo $this->escape($item["address"]);?></div>

	</div>
	<?php endforeach;?>
</div>
<?php echo $this->paginationControl($this->paginator, 'Sliding', 'paging/search.phtml', array("params" => $this->params)); ?>
<?php endif;?>

